// 延期柱状图
export function postponenum(data) {
    return {
        title: {
            text: "趋势图"
        },
        toolbox: {
            show: true,
            triggerOn: "mousemove",
            feature: {
                magicType: { type: ['line', 'bar'] },
                restore: {},
                saveAsImage: {}
            }
        },
        xAxis: {
            type: 'category',
            data: data.date
        },
        yAxis: {
            type: 'value'
        },
        series: [{
            markPoint: {
                data: [
                    { type: 'max', name: '最大值' },
                    { type: 'min', name: '最小值' }
                ]
            },
            markLine: {
                data: [
                    { type: 'average', name: '平均值' }
                ]
            },
            data: data.num,
            type: 'line'
        }]
    };

}

